module.exports = ({ createUser }) => {
  return {
    listen() {
      const { UserCreated } = createUser.eventMap
      createUser.on(UserCreated, (data) => {
        console.log('用户创建成功哦', data)
      })
    },
  }
}
